<?php

namespace App\Models;


use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Model;

class User extends Model
{
    use SoftDeletes;

    protected $table = 'users';

    /**
     * 可以被批量赋值的属性。
     *
     * @var array
     */
    protected $fillable = ['id','account','password','phone','wechat_unionid','status','created_at','updated_at','deleted_at'];



    /**
     * 数组中的属性会被隐藏
     *
     * @var array
     */
    protected $hidden = ['password','deleted_at'];
}
